package string;

public class StringDemo2 {
    public static void main(String[] args) {
        String s="a";
        //开销太大,运行性能太差
        for ( int i= 0;i<1000000; i++){
            s=s+"a";
        }
        System.out.println("haol");
    }
}
